package com.hq.sys.eneity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain =true)
@Table(name = "sys_role_menu")
public class RoleMenu {
    @Id
    private Integer id;

    /**
     * ⻆⾊id
     */
    private Integer rid;

    /**
     * 菜单id
     */
    private Integer mid;

}